package com.recommend.recommendkeyword.mapper;

import com.recommend.recommendkeyword.entity.Tag;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TagMapper {
    /**
     * 根据tag获取tagId
     */
    public Integer getTagId(String tag);
    /**
     * 根据tagId获取tag
     */
    public Tag getTagById(int tagId);
}
